約 3,934,397 件
https://w.atwiki.jp/atwikimyj/pages/81.html
Mapserverのインストール 長かった、、mapserverを使うために以下のこと全部やってきた、、。 (厳密にはその前にVMServerインストール、CentOS4.5インストールもあるけど) [PgSQL]PostgreSQLインストール [GIS][PostGIS]Proj4のインストール [GIS][PostGIS]GEOSのインストール [GIS][PostGIS]GDALのインストール [GIS][PostGIS]PostGISのインストール [GIS][PostGIS][PgGIS]PgSQLのデータベースでPostGISが使えるようにする [GIS][PostGIS]実際にPostGISを使う [GIS]GD+画像関連ライブラリのインストール やっとお待ちかねのMAPSERVERインストールだ!! mapserver5 http //mapserver.gis.umn.edu/download/current mapserver4.10 http //mapserver.gis.umn.edu/download/previous/mapserver_4_10/ workshop http //mapserver.gis.umn.edu/download/current/ms4xdemo/?searchterm=DEMO (1)ソースのダウンロード 今回はあえて4.10を使う (2)configure postGISインストールと同じように、各種ライブラリのパスを 指定してインストールをする必要がある。 以下のコマンドを1行で実行。 ************************ #./configure --with-gdal=/usr/local/bin/gdal-config with-geos=/usr/local/bin/geos-config with-proj=/usr/local with-postgis=/usr/local/pgsql/bin/pg_config ************************ make installすると、"mapservというファイルをコピーして"と メッセージが。資料を確認するとcgi-bin以下にコピーするみたい。 ************************ cp mapserv /var/www/cgi-bin ************************ コピーした。 ○Mapserverの表示テスト Mapserverのインストール http //www.officeyano.net/InstallMapserver.htm を参考にして、、 (1)workshop.zip /var/www/html 以下に workshop.zipを解凍 /var/www/html/temp を作成 tempの所有者をnoboyに変更 /var/www/html/workshop/index.htmlを開き、編集 http //localhost/workshop/ にアクセス エラー! httpd(apache2)のエラーログを確認してみるか、、。 var/log/httpd/error.log を確認 mapservがlibraryを呼んでいるときに libpq.so.5 がない、とメッセージ webを見ると、ld.conf.soにこのファイルの パスを書いてldconfig、というのが多数あるが、 すでにもうそれやってますけど、、、 苦し紛れに /usr/local/lib/libpq.so.5 というシンボリックリンクを本当のライブラリファイルである /usr/local/pgsql/lib/libpq.so.5.0 に張ると、今度はエラーメッセージが変わって ==================================== [Sun Oct 14 15 57 42 2007] [error] [client 127.0.0.1] Premature end of script headers mapserv, referer http //localhost/workshop/ [Sun Oct 14 16 51 18 2007] [error] [client 127.0.0.1] /var/www/cgi-bin/mapserv error while loading shared libraries libpq.so.5 failed to map segment from shared object Permission denied, referer http //localhost/workshop/ [Sun Oct 14 16 51 18 2007] [error] [client 127.0.0.1] Premature end of script headers mapserv, referer http //localhost/workshop/ ==================================== not found からpermission denied に変わった?しかし、なんのパーミッション? libpq.so.5のパーミッション?mapservのパーミッション? さすがにここで心が折れた。mapserverインストールまでが長すぎる、、、。 いったいいくつ入れてきたのか、、。postgreSQL,Geos,GDAL,proj4,libpng,libjpeg,freetype,xp, fontconfig,GD,postGIS,そしてMapserver、、最後の最後ではまってしまった、、、(泣)
https://w.atwiki.jp/sitescript/pages/14.html
ClipLife ClipLife(クリップライフ)は、2009年1月、名称をgoo ClipLife(グー クリップライフ)」に変更するとともに、大幅なリニューアルを実施しました。 goo ClipLife http //cliplife.goo.ne.jp/ 「goo ClipLife」は、2011年5月31日をもって、サービス提供を終了した。 修正済みスクリプト スクリプトをインストール 2010.08.01 up MD5クラスは使用しないので、削除しました。 メタデータの siteUrl と version を書き換えました。 修正情報 2010.08.01 記 DarkKnight さんのサイトスクリプト、 ClipLife.site.js (date 2008/09/15, version 0.2) に基づきます。 isSiteUrl関数を次のものに差し替え function isSiteUrl( url ) { if ( url.match( /http \/\/cliplife\.goo\.ne\.jp\/play\/clip\/.*/ ) ) { return true; } } getVideoDetail関数を次のものに差し替え function getVideoDetail( url ) { if ( !url.match( /http \/\/cliplife\.goo\.ne\.jp\/play\/clip\/([^\/? ]+)/ ) ) return null; var clipid = RegExp.$1; var infourl = "http //cliplife.goo.ne.jp/embed/" + clipid; var craving = new CravingSiteScript(); var text = craving.getResponseText( infourl ); if ( !text ) return null; if ( text.match( / title (.*?) \\\/title / ) ){ var title = unescape( RegExp.$1.replace(/\\/g, "%" ) ); } else { title = "cliplife_" + clipid; } if ( !text.match( /tokenkey=\\"(.*?)\\"/ ) ) return null; var key = RegExp.$1; var realUrl = "http //stream.cliplife.goo.ne.jp/play/load/" + clipid + "?viewtype=2" + " csrfTokenKey=" + key; return { videoTitle0 title, videoUrl0 realUrl }; } 「動画保存」とクッリクする場所が出てきませんどうしてなのでしょうか? -- 名無しさん (2012-01-25 22 05 45) ブログに、動画を貼り付けたい -- すっんてんばれ (2012-06-13 20 18 18) 名前 コメント
https://w.atwiki.jp/heavy_weather/pages/12.html
SAStruts サイト http //sastruts.seasar.org/index.html セットアップ eclipse とりあえずeclipse 3.3を落としてきた。http //mergedoc.sourceforge.jp/ から「JavaETL」をダウンロード eclipseにプラグインを追加更新サイトhttp //eclipse.seasar.org/updates/3.3/ プロジェクト作成 Dolteng Project Project Facet Settingsプレゼンテーション:SAStruts Persistence:S2JDBC お困りメモ 定義ファイル読み込みエラー DB接続使用と思ったら下記のようなエラーが。。。 どうも、jdbc.diconがいけないらしい。。ってなわけで調査。単に !DOCTYPE を二つ書いていたのでParseエラー org.seasar.framework.exception.SAXRuntimeException [ESSR0054]SAXで例外が発生しました。 理由はorg.xml.sax.SAXParseException The content of element type "components" must match "(description?,include*,(component|meta|xi include)*)". at file ///C /tomcat /jdbc.dicon( lineNumber = 164, columnNumber = 14) エンティティ定義でエラー
https://w.atwiki.jp/ohden/pages/497.html
Android/開発環境構築手順 Linux Mint 14.1 (64bit) どうやら開発環境の構築方法がかなり簡単になってるみたいなのでメモ。 必要なもの『JDK6』『ADK』以上。 最近はADKにEclipseが同梱されてて、アーカイブ展開するだけですぐ使えるようになっちゃった。(ノ∀`) と言う訳で、その手順と詰まった所をメモっていく。 ■JDK6取得・導入 軽くハマった。Mint14.1には最初っからJRE7が入ってるんで、JDKも7で良いやと入れたんですが... どうも、古いAPI Levelの環境やGoogle APIの環境はJDK7に対応しとらんらしい。なのでJDK7で環境を構築するとAVDでDevice作る時にTargetに『Android 4.2 - API Level17』しか出んかった。多分、4系は対応してると思われます。 Android 2系やGoogle APIの環境を使ったAndroidアプリを作りたい場合は、JDK6の環境にしてやらんといけん。 $ sudo apt-get update $ sudo apt-get remove openjdk-7* $ sudo apt-get install openjdk-6-jdk 以上を実行して、ちゃんとJDK6の環境になってればOK。 $ java -version java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~12.10) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) $ javac -version javac 1.6.0_27 ■ADK取得・導入 http //developer.android.com/sdk/index.html 上記URLにアクセスして、『DOWNLOAD FOR OTHER PLATFORMSVIEW ALL DOWNLOADS AND SIZES』ってトコを突くと、各OS向けのパッケージが表示される。 『ADT Bundle』『SDK Tools Only』って2種類あるけど、新規に環境作るんだったら、迷わず『ADT Bundle』を選択。 これを入れればEclipseを含んだ環境が取得できる。『SDK Tools Only』はEclipseのプラグインだけだと思って貰えれば良い。 で、今回の環境は64bit Linuxなので、『adt-bundle-linux-x86_64.zip』をdownload。 任意の場所で $ unzip adt-bundle-linux-x86_64.zip 解凍が終わったら以下を実行することでADT対応済みのEclipseが起動する。 $ adt-bundle-linux-x86_64/eclipse/eclipse あとは自分の使いやすいようにメニューに表示させたりしてください。 で、このEclipse起動時に『platform-tools/adb』が無いってioexceptionが発生したら... $ file ./adt-bundle-linux-x86_64/sdk/platform-tools/adb ※file pathは自分の環境に合わせて変更。 ってやってみる。adbが32bitアプリケーションだとそのままでは起動できないので、以下のlibをinstall。 $ sudo apt-get install ia32-libs これで32bitアプリケーションも実行できるハズ。 Eclipse起動時にioexceptionが出なくなったらok。 とりあえず、これだけでAndroidアプリを開発出来る環境が完成。 どんだけお手軽になっとるんかと... ちなみに、Windows環境でもほとんど同じ手順で作れます。 Cygwinも不要になってた。ヽ(*°∀°)ノ ※多分内包されてんだろうけど... おそらく、Mac環境もそんなに差異は無いハズ。 更新日: 2014年09月12日 (金) 14時23分34秒 名前 コメント すべてのコメントを見る
https://w.atwiki.jp/nan-dem/pages/28.html
ここでは主に1.6.4に関する事を書いて行きます 1 . 開発環境 ┣ Forge導入 ┗ Eclipseの導入/設定 2 . Mod開発 ┣classの追加/コードの記述 ┗mcp/reobfに出力してModとして配布 開発環境 必要な物 Java SE Development Kit 8 Forge 9.11.1.965 src 入れたほうが良い物 Eclipse 備考 別にEclipseは入れなくても入れてもどっちでもいいです、でもEclipseはスペルや構文が間違ってたら指摘してくれるので使い慣れたら普通のテキストエディタよりEclipseの方が断然使いやすい ですがこのwikiでの解説は基本的にEclipseの使用を前提とした解説しかしません(しませんがそうじゃない環境にも応用できると思います) Forge導入 1 . 先ほどダウンロードしたZIPを適当な場所(英字のフォルダ)にぶち込んでおいて下さい、どこでもいいです 2 . forge\fml\mc_versions.cfgを開くと一番下に [1.6.4] client_md5 = 2e5044f5359e82245551167a237f3167 server_md5 = ba3145656b1480122bd8759cecd7b7a1 mcp_ver = 8.11 mcp_url = http //mcp.ocean-labs.de/files/archive/mcp811.zip mcp_md5 = 2d7a759309b5cc10ca29caa0b10f3bfc こんなのがあると思います この server_md5 = ba3145656b1480122bd8759cecd7b7a1 を server_md5 = abcf286a14f7aee82e8bf89270433509 に変えて下さい これをやらないでそのままinstall.cmdを実行するとデコンパイル例外が何だかんだで失敗します、自分はこれのせいでかなりの時間を潰しました、というかそれの回避方法を出来るだけ多くのmod開発大好きマンに知ってもらいたくてこの記事を書きました。 3 . forge/install.cmdを実行して終了するまで待ちましょう これで開発環境が整います、多分 Eclipseの導入/設定 ここから先は必須じゃないです Eclipseが無くてもsrcをテキストエディタや何やらで弄ってリコンパイルすればMODはできます が、自分はEclipseを使ったほうが開発しやすいと思うので書いていきます。 Eclipse導入 1.Eclipseの"Eclipse 4.3 Kepler pleiades All in one"をクリック 自分の環境に合った物の"Java"の"Full Edition"をダウンロード、適当な場所、例としてC \Programfilesに解凍して出た物を置く これで導入完了、最初から日本語化されています 2 . [ファイル(F)]→[ワークスペースの切り替え(W)]→[その他(O)...]で"\forge\mcp\eclipse"を指定してOKを押せばEclipseでの開発環境は整いました 備考 実行ボタンを押すとマイクラが起動、コマンドプロンプトの代わりにEclipseの"コンソール"にログが表示される Mod開発 さて早速開発していこう、だが自分も初心者なので少しずつ書き溜めて行きたい classの追加/コードの記述 Mod Coding mcp/reobfに出力してModとして配布 ZIPにして配布が一番望ましい、というか簡単 パッケージとフォルダの構造を合わせる必要がある、例として クラスネームがSushi.class、そのクラスのパッケージがpackage Ore.Watashi;なら 適当なフォルダー名.zip ┣mcmod.info ┗Ore ␣┗Watashi ␣␣┗Sushi.class こうである必要がある
https://w.atwiki.jp/lipsync/pages/125.html
このページの日本語版もあります (日本語版) This page makes short introduction to prepare the language configuration used in LipSync. notice The file format of language configuration file of current version is different from that of version 2.3.6 or previous. LipSync uses the *.po format, which is generally used in the development of multi-language applications. This page introduce how to translate the UI message, using *.po file editor, "poEdit". Getting "poEdit" The latest release can be get from the home page of "poEdit" (this link at least available at Nov 2008) Configuration of poEdit If your poEdit has no parser configuration for C#, please add new configuration as shown below. At first boot of poEdit, interface language is set to English. You can change the UI language if you want to do so. Configuration of UI language Select "File" menu = "Preferences" Select "Personalize" tab, and click "Change UI language" button. Select language and click "OK". Reboot poEdit, and UI language will changed to selected one. Configuration of source code parser Select "File" menu = "Preferences". Select "Parsers" tab. If there is no entry named "C#" in the list, click, "New" button and type each sections as following list.「Language 」C# 「List of extensions (...) 」*.cs 「Parser command 」xgettext --force-po -o %o %C %K %F 「An item in keywords list 」-k%k 「An item in input files list 」%f 「Source code charset 」--from-code=%c if all sections are filled, click "OK" button. Getting source codes of LipSync To prepare a language configuration file, you have to get the source codes of LipSync, because all UI message or comments are embedded in these source codes. Most simple way to get the sourc code is to download the archive of source code which is distributed in this Wiki. However, it will be better to checkout the latest code from the cvs repository of SourceForge.jp. Translation
https://w.atwiki.jp/japanesehiphop/pages/5057.html
Format Title Artist Label Model Number Release Press 12 SOLIPSISM VIGORMAN VIGORMAN,LEXINGTON,MANHATTAN RECORDS LEXAL036 2019/11/03 - Side Track Title Produce A 1 KILLIN IT GeG 2 SOLIPSISM BACHLOGIC 3 2Face GeG 4 The Verse feat.RUDEBWOY FACE,PERSIA 774 5 Diamond GeG 6 A Few GeG 7 大人が言う(UNPLUGGED REMIX) GeG B 8 頭悪い天才 feat.BASI GeG 9 Up 2 Me KM 10 Vintage from Teenage feat.変態紳士クラブ GeG 11 Slow Down GeG 12 I Remember BACHLOGIC 13 Last Shit BACHLOGIC PERTAIN RECORD AMAZON SOLIPSISM [Analog]
https://w.atwiki.jp/metalmetabo/pages/17.html
- visitors 2010/5/31 PKS and NRPS release mechanisms L Du, L Lou - Natural Product Reports, 2010 - rsc.org http //www.rsc.org/publishing/journals/NP/article.asp?doi=b916096e ... Review. Nat. Prod. Rep., 2010, 27, 255 - 278, DOI 10.1039/b912037h. PKS and NRPS release mechanisms Liangcheng Du and Lili Lou. Covering up to September 2009. ... Antimicrobial natural products an update on future antibiotic drug candidates M Saleem, M Nazir, MS Ali, H Hussain, YS Lee, N … - Natural Product …, 2010 - rsc.org http //www.rsc.org/publishing/journals/NP/article.asp?doi=b916096e ... Review. Nat. Prod. Rep., 2010, 27, 238 - 254, DOI 10.1039/b916096e. Antimicrobial natural products an update on future antibiotic drug candidates Muhammad Saleem, Mamona Nazir, Muhammad Shaiq Ali, Hidayat Hussain, Yong Sup Lee, Naheed Riaz and Abdul Jabbar. ... Branch-and-Bound Algorithms for Enumerating Treelike Chemical Graphs with Given Path Frequency Using Detachment-Cut Y Ishida, Y Kato, L Zhao, H Nagamochi, T … - Journal of Chemical … - ACS Publications http //pubs.acs.org/doi/abs/10.1021/ci900447z Computational methods of enumerating chemical graphs have attained great importance in chemoinformatics since they lead to a variety of useful applications including structure determination of novel chemical compounds. Recently, Fujiwara et al. have presented an efficient branch-and-bound ... A Semantic Web Ontology for Small Molecules and Their Biological Targets JY Choi, MJ Davis, AF Newman, MA … - Journal of Chemical … - ACS Publications http //pubs.acs.org/doi/abs/10.1021/ci900461j A wide range of data on sequences, structures, pathways, and networks of genes and gene products is available for hypothesis testing and discovery in biological and biomedical research. However, data describing the physical, chemical, and biological properties of small ... Drug-and Lead-likeness, Target Class, and Molecular Diversity Analysis of 7.9 Million Commercially Available Organic Compounds Provided by 29 Suppliers A Chuprina, O Lukin, R Demoiseaux, A Buzko, … - J. Chem. Inf. …, 2010 - ACS Publications http //pubs.acs.org/doi/abs/10.1021/ci900464s A database of 7.9 million compounds commercially available from 29 suppliers in 2008−2009 was assembled and analyzed. 5.2 million structures of this database were identified to be unique and were subjected to an assessment of physical and biological properties and ... Computationally Efficient Algorithm to Identify Matched Molecular Pairs (MMPs) in Large Data Sets J Hussain, C Rea - Journal of Chemical Information and Modeling - ACS Publications http //pubs.acs.org/doi/abs/10.1021/ci900450m Modern drug discovery organizations generate large volumes of SAR data. A promising methodology that can be used to mine this chemical data to identify novel structure−activity relationships is the matched molecular pair (MMP) methodology. However, before the full potential of the ... Construction of Functional Group Reactivity Database under Various Reaction Conditions Automatically Extracted from Reaction Database in a Synthesis Design … A Tanaka, H Okamoto, M Bersohn - Journal of Chemical Information and … - ACS Publications http //pubs.acs.org/doi/abs/10.1021/ci9004332 To be able to estimate the reactivity of functional groups under certain reaction conditions, we have stored three types of data (1) data of change or destruction of the functional groups by the conditions of the reaction conditions; (2) data showing no influence of the reaction ... Prokaryotic Ubiquitin-Like Protein Provides a Two-Part Degron to Mycobacterium Proteasome Substrates KE Burns, MJ Pearce, KH Darwin - Journal of Bacteriology, 2010 - Am Soc Microbiol http //jb.asm.org/cgi/content/abstract/JB.01639-09v1 Prokaryotic ubiquitin-like protein (Pup) is a post-translational modifier that targets proteins for degradation by the mycobacterial proteasome. We show that the disordered amino-terminus of Pup is required for degradation while the Phylogeny of Gammaproteobacteria KP Williams, JJ Gillespie, BWS Sobral, EK … - Journal of …, 2010 - Am Soc Microbiol The phylogeny of the large bacterial class Gammaproteobacteria has been difficult to resolve. Here we apply a telescoping multi-protein approach to the problem for 104 diverse gammaproteobacterial genomes, based on a set of 356 protein families for the whole class, and even larger sets for each of four cohesive subregions of the tree. A role for CysJ flavin reductase in molybdenum cofactor-dependent resistance of Escherichia coli to 6-N-hydroxylaminopurine SG Kozmin, J Wang, RM Schaaper - Journal of Bacteriology, 2010 - Am Soc Microbiol Page 1. A role for CysJ flavin reductase in molybdenum cofactor- 1 dependent resistance of Escherichia coli to 6-N- 2 hydroxylaminopurine 3 4 Stanislav G. Kozmin, Jian Wang, and Roel M. Schaaper* 5 6 Laboratory of Molecular ... Open source bioimage informatics for cell biology JR Swedlow, KW Eliceiri - Trends in cell biology, 2009 - Elsevier Significant technical advances in imaging, molecular biology and genomics have fueled a revolution in cell biology, in that the molecular and structural processes of the cell are now visualized and measured routinely. Driving much of this recent development has been the advent of ... BiGG a Biochemical Genetic and Genomic knowledgebase of large scale metabolic reconstructions J Schellenberger, JO Park, TM Conrad, BØ … - BMC …, 2010 - biomedcentral.com BiGG currently contains 7 reconstructions including two versions of E. coli. There are a total of 7234 unique reactions and exchanges in the database. Exchange reactions carry metabolites from the extracellular compartment across the system boundary and are not technically part of the metabolic reconstruction. Translocation reactions carry a metabolite between compartments 2010/5/24 Multiple reciprocal adaptations and rapid genetic change upon experimental coevolution of an animal host and its microbial parasite RD Schulte, C Makus, B Hasert, NK … - Proceedings of the …, 2010 - National Acad Sciences The coevolution between hosts and parasites is predicted to have complex evolutionary consequences for both antagonists, often within short time periods. To date, conclusive experimental support for the predictions is available mainly for microbial host systems, but for only a few ... Genomic arrangement of bacterial operons is constrained by biological pathways encoded in the genome Y Yin, H Zhang, V Olman, Y Xu - … of the National Academy of Sciences, 2010 - link.aip.org It is generally known that bacterial genes working in the same biological pathways tend to group into operons, possibly to facilitate cotranscription and to provide stoichiometry. However, very little is understood about what may determine the global arrangement of bacterial genes ... Revealing strengths and weaknesses of methods for gene network inference D Marbach, RJ Prill, T Schaffter, C … - Proceedings of the …, 2010 - National Acad Sciences Numerous methods have been developed for inferring gene regulatory networks from expression data, however, both their absolute and comparative performance remain poorly understood. In this paper, we introduce a framework for critical performance assessment of methods ... Structure and function of an iterative polyketide synthase thioesterase domain catalyzing Claisen cyclization in aflatoxin biosynthesis … , JW Labonte, AG Newman, J Wong, … - Proceedings of the …, 2010 - National Acad Sciences Polyketide natural products possess diverse architectures and biological functions and share a subset of biosynthetic steps with fatty acid synthesis. The final transformation catalyzed by both polyketide synthases (PKSs) and fatty acid synthases is most often carried out by a ... How the Sequence of a Gene Can Tune Its Translation K Fredrick, M Ibba - Cell, 2010 - Elsevier Just about every molecular biologist, intentionally or not, has conducted experiments on the roles of codon usage during translation. For example, to prepare a protein of interest, a foreign gene might be expressed in a heterologous host like the bacterium Escherichia coli, but ... An Evolutionarily Conserved Mechanism for Controlling the Efficiency of Protein Translation T Tuller, A Carmi, K Vestsigian, S Navon, Y Dorfan, J … - Cell, 2010 - Elsevier Recent years have seen intensive progress in measuring protein translation. However, the contributions of coding sequences to the efficiency of the process remain unclear. Here, we identify a universally conserved profile of translation efficiency along mRNAs computed based on adaptation ... The Chemical MUPpeteer I Rodriguez - Cell, 2010 - Elsevier To face a hostile world, animals have developed a complex array of sensory systems. In vertebrates, this sensory toolbox provides such a keen selective advantage that a considerable fraction of the vertebrate genome is devoted to its development and function. The primary ... Network Modeling Identifies Molecular Functions Targeted by miR-204 to Suppress Head and Neck Y Lee, X Yang, Y Huang, H Fan, Q Zhang… - 2010 - papers.gersteinlab.org Due to the large number of putative microRNA gene targets predicted by sequence-alignment databases and the relative low accuracy of such predictions which are conducted independently of biological context by design, systematic experimental Functional analysis of human mismatch repair gene mutations identifies weak alleles and polymorphisms capable of polygenic interactions SL Martinez, RD Kolodner - Proceedings of the National …, 2010 - National Acad Sciences Many of the mutations reported as potentially causing Lynch syndrome are missense mutations in human mismatch repair (MMR) genes. Here, we used a Saccharomyces cerevisiae-based system to study polymorphisms and suspected missense mutations in human MMR ...
https://w.atwiki.jp/vipkeiba/pages/15.html
中央だろうが地方だろうが、競馬に関するブログを作ったらここで晒しちゃえ! 自薦他薦問わず、Vipperなら誰でもOK! 宣伝上等! ただし、うさんくさい情報商材は勘弁な! サイト名 管理者名 説明 ばけんにっき。 1さん VIPでの競馬先駆者の1さんのブログ。はんばーぐかれーのために奮闘する姿が健気。更新停止中…
https://w.atwiki.jp/mywiki2010/pages/13.html
Window上にAndroidアプリケーション開発環境を構築する。 参考サイト一覧 Android Developer Installing the ADT Plugin Androidで動く携帯Javaアプリ作成入門 @IT Android Market配布を目指しEclipseでHelloWorld!(2008/12/08) 構築手順 (更新 2010/02/16) Eclipseを使う。 (1) JAVA環境のセットアップ Java SEのダウンロードページから、JDKをダウンロードする。サン・マイクロシステムズがオラクルに買収された都合、2009年以前に書かれたダウンロード情報等と異なる点が多い。 必要なものは"Java Platform, Standard Edition"の"JDK"。2010/02/08時点での最新バージョンは"JDK 6 Update 18"。 Platformの選択では"Windows"を選ぶ。 JDKをインストールする。ダウンロードしたexeを実行する。 とりあえず全てインストール。インストール先は、特に問題が無ければ(JREも含め)デフォルトのままでよい。 (2) Android SDKのセットアップ Android DevelopersのSDKダウンロードページからセットアップファイルをダウンロードする。Platformは"Windows"のものを選ぶ。 ここでダウンロードするものはSDK管理用のソフトであって、SDKそのものでは無い。バージョンは最新のものでOK。 ダウンロードしたファイルを解凍し、"SDK Setup.exe"を実行。IEの接続設定を使ってくれないらしく、そちらでネットワーク関係の設定が正しくてもエラーが出る。 エラーメッセージが出た場合は一旦"close"→"Cansel"ボタンを押して中断し、"Setting"の項目を設定し直す。 Failed to fetch URL https //dl-ssl.google.com/android/repository/repository.xml, reason HTTPS SSL error. You might want to force download through HTTP in the settings. → HTTPSでのアクセスに失敗。特に問題が無ければ、"Setting"の"Force htps //...(中略)using http //..."にチェックを入れる。 → Proxy設定エラー。"HTTP Proxy Server"と"HTTP Proxy Port"に値を設定する。 (IEの「ツール」→「インターネットオプション」→「接続」→「LANの設定」の「プロキシサーバー」の設定値を参照。 設定を変更したら、メニューから"Installed Packages"を選択し、"Update All..."ボタンを押す。 ちなみに、これらの設定情報はOSの各ユーザ別フォルダに保存される。WindowsXPなら"C \Documents and Settings\ username \.android\androidtool.cfg"。 インストールするパッケージが表示されるので、全てインストールする。"Accept All"を有効にして、"Install Accepted"ボタンを押す。 SDKパッケージのダウンロードとインストールが始まる。 途中でエラーになった場合は、とりあえず"YES"を押して再開を試みる。 仮想マシンの構築左のメニューから"Vritual Devices"を選択し、"New"ボタンを押す。 必要な設定を行う。今回はとりあえず必要最低限な設定。Name 任意Taget Android 1.1その他 デフォルトのまま。 各項目を入力したら、"Create AVD"を押す。 仮想マシンが構築される。 ちなみに、AVDの設定もOSの各ユーザ別フォルダに保存される。WindowsXPなら"C \Documents and Settings\ username \.android\avd\"。 (3) Eclipseのセットアップ Eclipse公式サイトのダウンロードページから、"Eclipse IDE for Java Developers"を選択。2010/02/16時点での最新バージョンは3.5.1(Galileo-SR1) プラットフォームが幾つかあるので、Windows用のものを選択する。 ダウンロードしたファイルを解凍する。 解凍先の中にある"eclipse"フォルダをAndroidアプリ開発作業用のフォルダにコピーインストーラーやセットアップ作業は無い。 必要に応じてデスクトップにショートカットを作成したりする。 Eclipseを日本語化するプラグインもあるが、今回は使用しない。後述のADTのセットアップの解説が英語のため、メニュー項目名などがよく分からなくなる。 とりあえずEclipseを立ち上げてみる。最初にワークスペースの作成場所を聞かれる。プロジェクトを保存するしたい場所を指定する。 (4) ADTのインストール EclipseにAndroid用のプラグイン"ADT"をインストールする。 ここの内容はAndroid Developerのここを訳しただけ。 Eclipse起動後、メニューから"Help"→"Install New Software."を選択。 開いたダイアログの右上にある"add"ボタンを押す。 "Name"の欄には適当な文字列を(例えば"Android Plugin")、 "Location"の欄には下記URLを入力して、"ok"を押す。この後でうまく行かないようだったら、httpsをhttpに変えてリトライ。 https //dl-ssl.google.com/android/eclipse/ 真ん中のリストに"Developer Tool"というのが現れるので、チェックを入れて"next"を押す。 ライセンスについて"accept"を選び、"Next"を押す。 必要なものがインストールされた後に再起動を促されるので、Eclipseを再起動する。 Eclipse再起動後、メニューから"Window"→"Preferences"を選択。 開いたダイアログの左にあるパネルから"Android"を選択。 右側のLocationにAndroidのSDKをインストールしたフォルダ("android-sdk-windows")を選択する。 "Apply"を押して決定する。